//
//  BGAddinfopickViewModel.m
//  bigMall
//
//  Created by LTOVE on 16/8/29.
//  Copyright © 2016年 thinklev. All rights reserved.
//

#import "BGAddinfopickViewModel.h"
#import "LTOVEPickView.h"
#import "MJExtension.h"
#pragma pickView视图模型

@interface BGAddinfopickViewModel ()<datePickDelegate>

@end

@implementation BGAddinfopickViewModel
- (void)pickViewChangedWithStr:(NSString *)Str
{
    if ([_delegate respondsToSelector:@selector(pickViewValueChanged:)]) {
        [_delegate pickViewValueChanged:Str];
    }
}
- (AddInfoOption)option
{
    void (^MyBlocOption)() = ^(){
        LTOVEPickView *view = [LTOVEPickView showPickViewWithHeigh:180 andDateArray:self.dateArray];
        view.delegate = self;
        [view initPickViewValue];
        view.frame = BGKeyWindow.bounds;
        [BGKeyWindow addSubview:view];
        
        
        
    };
    return MyBlocOption;
}


@end

#pragma textFildView视图模型
@implementation BGAddinfoTextFildViewModel



@end
#pragma 多选cell模型
@implementation BGAddInfoDoubleSelectedViewModel



@end

#pragma 请求参数模型
@implementation BGAddInfoParamModel

+ (NSDictionary *)objectClassInArray
{
    return @{
             @"attrValue":@"BGAddInfoParamValueModel"
             };
}

@end
#pragma 请求参数值模型
@implementation BGAddInfoParamValueModel

- (NSString *)changePrice
{
    return @"0";
}
@end


